package contant;
import date.Msg;

public class Cylinder extends Shape{
	public static double r;
	public static double h; 
	@SuppressWarnings("static-access")
	public Cylinder(double r,double h) {
		this.r=r;
		this.h=h;
	}
	

	public double reachVolume() {
	
		return Msg.π*r*r*h;
	}
	

}
